//
//  SISSNetworkingManager+RentOutProgress.h
//  SISSAPP
//
//  Created by 袁应荣 on 2018/1/2.
//  Copyright © 2018年 优房网. All rights reserved.
//

#import "SISSNetworkingManager.h"

#import "SISSLandlordPayInfoModel.h"
#import "SISSRenterPayInfoModel.h"

@class SISSTenantModel;
@class SISSRentOutProgressModel;
@class SISSRentOutProgressRecordInfoModel;
@class SISSLeaserEntrustContractModel;
@class SISSHouseConditionInfoModel;
@class SISSRentOutTakeLookModel;
@class SISSRentOutTakeLookAppointmentModel;
@class SISSCommentModel;
@class SISSTenantInfoModel;
@class SISSHouseManualModel;


@interface SISSNetworkingManager (RentOutProgress)



/**
 4.2.5 删除出租进度 GET请求
 
 @param albpId 出租进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)deleteRentOutProgressWithAlbpId:(NSString *)albpId successBlock:(void (^)(id responseObject))successBlock failed:(void (^)(NSError *error))failedBlock;

/**
 4.4.5 获取出租进度的信息 GET请求
 
 @param albpId 出租进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestRentOutProgressRecordInfoWithAlbpId:(NSString *)albpId
                                         success:(void(^)(SISSRentOutProgressRecordInfoModel *progressInfoModel))successBlock
                                          failed:(void(^)(NSError *error))failedBlock;

/**
 4.23.3  获取出租推荐的租客信息 GET请求
 
 @param albpId 出租进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestRentOutRecommendTenantWithAlbpId:(NSString *)albpId success:(void(^)(SISSTenantModel *tenantModel))successBlock failed:(void(^)(NSError *error))failedBlock;


/**
 4.29.3 添加出租方委托协议 (图文上传)

 @param parameters 参数
 @param imagesArray 签名图片
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)insertLeaserEntrustContractWithParameters:(NSDictionary *)parameters imagesArray:(NSArray *)imagesArray successBlock:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.42.1 获取出租状况说明书列表 GET请求
 
 @param alrId 出租id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestRentOutProgressHouseStatusManualListAlrId:(NSString *)alrId success:(void(^)(NSArray<SISSHouseConditionInfoModel *> *houseConditionInfoArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.42.2 添加出租房屋状况说明书 (图文上传)
 
 @param parameters 上传参数
 @param imagesArray 上传合同文本图片
 @param houseImages 上传房屋状况图片
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)insertRentOutLeaseManualInfoWithParameters:(NSDictionary *)parameters imagesArray:(NSArray<UIImage *> *)imagesArray houseImages:(NSArray<UIImage *> *)houseImages success:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.31.3 获取出租进度房屋状况说明书 GET请求
 
 @param ID 房屋状况说明书id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestRentOutProgressLeaseManualWithId:(NSString *)ID success:(void(^)(SISSHouseManualModel *houseManualModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.42.4 更新出租房屋状况说明书 (图文上传) PUT请求
 
 @param parameters 上传参数
 @param imagesArray 上传合同文本图片
 @param houseImages 上传房屋状况图片
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)updateRentOutLeaseManualInfoWithParameters:(NSDictionary *)parameters imagesArray:(NSArray<UIImage *> *)imagesArray houseImages:(NSArray<UIImage *> *)houseImages success:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.43.1 获取出租进度带看预约记录 GET请求
 
 @param albpId 出租进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestRentOutTakelookAppointmentWithAlbpId:(NSString *)albpId success:(void(^)(NSArray<SISSRentOutTakeLookAppointmentModel *> *takeLookArr))successBlock failed:(void(^)(NSError *error))failedBlock;


/**
 4.43.3 获取出租进度带看详情 GET请求
 
 @param ltlrId 带看记录id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestRentOutTakelookDetailWithLtlrId:(NSString *)ltlrId success:(void(^)(SISSRentOutTakeLookModel *takeLookDetailModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.43.6 获取出租进度带看记录 GET请求
 
 @param albpId 出租进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestRentOutTakelookRecordWithAlbpId:(NSString *)albpId success:(void(^)(NSArray<SISSRentOutTakeLookModel *> *takeLookArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.43.7  获取出租进度带看经纪人评价房东详情 GET请求
 
 @param ID 带看id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestCommentTakeLookBrokerCommentLandlordInfoWithId:(NSString *)ID success:(void(^)(SISSCommentModel *commentModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.43.8  获取出租进度带看房东评价经纪人详情 GET请求
 
 @param ID 带看id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestCommentTakeLookLandlordCommentBrokerInfoWithId:(NSString *)ID success:(void(^)(SISSCommentModel *commentModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.43.9  经纪人评价房东
 
 @param parameters 参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)insertBrokerCommentLandlordWithParameters:(NSDictionary *)parameters success:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.50.1 获取出租进度经纪人评价房东 GET请求
 
 @param albpId 出租进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestCommentBrokerCommentLandlordInfoWithAlbpId:(NSString *)albpId success:(void(^)(SISSCommentModel *commentModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.50.2 获取出租进度房东评价经纪人 GET请求
 
 @param albpId 出租进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestCommentLandlordCommentBrokerInfoWithAlbpId:(NSString *)albpId success:(void(^)(SISSCommentModel *commentModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.44.1 设置交易租客 GET请求
 
 @param parameters 参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)confirmTradeTenantWithParameters:(NSDictionary *)parameters success:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.44.2 获取交易房源 GET请求
 
 @param adbpId 客源进度id
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestTradeTenatInfoWithAlbpId:(NSString *)albpId success:(void(^)(SISSTenantModel *tenantModel))successBlock failed:(void(^)(NSError *error))failedBlock;


@end
